
/**
 * @description ArInvoiceHeadServiceImpl.java
 * @author dongbin
 * @version 
 * @copyright
 */

package com.erp.common.ar.invoice.service.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.erp.common.ar.invoice.dao.ArInvoiceHeadDao;
import com.erp.common.ar.invoice.service.ArInvoiceHeadService;

/**
 * @description
 * @date 2020年10月8日
 * @author dongbin
 * 
 */
@Service("arInvoiceHeadServiceCommon")
@Transactional(rollbackFor=Exception.class)
public class ArInvoiceHeadServiceImpl implements ArInvoiceHeadService {
    
    //注入Dao
    @Autowired
    @Qualifier("arInvoiceHeadDaoCommon")
    private ArInvoiceHeadDao arInvoiceHeadDao;
    
    @Override
    public boolean isExistArInvoiceRelateSO(String headCode) {
        return this.arInvoiceHeadDao.isExistArInvoiceRelateSO(headCode);
    }

}
